package com.canaan.business.domain.storehouse;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.canaan.common.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 库存盘点任务对象 wms_stock_check
 *
 * @author ruoyi
 * @date 2023-02-14
 */
@ApiModel(description = "wms_stock_check")
@Data
@TableName("wms_stock_check")
public class StockCheck extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty("${comment}")
    private Long id;

    /**
     * no
     */
    @Excel(name = "no")
    @ApiModelProperty("no")
    private String no;

    /**
     * 计划编号
     */
    @Excel(name = "计划编号")
    @ApiModelProperty("计划编号")
    private String planNo;

    /**
     * 计划名称
     */
    @Excel(name = "计划名称")
    @ApiModelProperty("计划名称")
    private String planName;

    /**
     * 仓库编号
     */
    @Excel(name = "仓库编号")
    @ApiModelProperty("仓库编号")
    private String storehouseNo;

    /**
     * 仓库名称
     */
    @Excel(name = "仓库名称")
    @ApiModelProperty("仓库名称")
    private String storehouseName;

    /**
     * 盘点类型:SHOW-明盘HIDE-暗盘
     */
    @Excel(name = "盘点类型:SHOW-明盘HIDE-暗盘")
    @ApiModelProperty("盘点类型:SHOW-明盘HIDE-暗盘")
    private String checkType;

    /**
     * 盘点方式:PRODUCT-物料;LOCATION-位置
     */
    @Excel(name = "盘点方式:PRODUCT-物料;LOCATION-位置")
    @ApiModelProperty("盘点方式:PRODUCT-物料;LOCATION-位置")
    private String checkWay;

    /**
     * 盘点状态:WAIT待盘点;ALLOCATION已分配;COMPLETE已完成;CLOSE关闭
     */
    @Excel(name = "盘点状态:WAIT待盘点;ALLOCATION已分配;COMPLETE已完成;CLOSE关闭")
    @ApiModelProperty("盘点状态:WAIT待盘点;ALLOCATION已分配;COMPLETE已完成;CLOSE关闭")
    private String status;

    /**
     * 是否复盘
     */
    @Excel(name = "是否复盘")
    @ApiModelProperty("是否复盘")
    private String isRepeatCheck;

    /**
     * 盘点员
     */
    @Excel(name = "盘点员")
    @ApiModelProperty("盘点员")
    private String checker;

    /**
     * 盘点员名称
     */
    @Excel(name = "盘点员名称")
    @ApiModelProperty("盘点员名称")
    private String checkerName;

    /**
     * 是否删除：1是 0否
     */
    @ApiModelProperty("盘点员名称")
    private String delFlag;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("完成时间")
    private Date completeTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("结束时间")
    private Date closeTime;

    @ApiModelProperty("审核建议")
    private String auditSug;
}
